/**
 * MP Software.
 */
package service;

import java.math.BigDecimal;
import java.util.List;

import models.Deduction;
import models.Payment;
import models.Rate;

/**
 * @author Jeremiah John M. Macariola
 *
 */
public interface PayrollCalculator {

    CalculationResult calculate(Rate rate, List<Payment> payments,
            List<Deduction> deductions);

    BigDecimal calculatePayment(Rate rate, Payment payment);

}
